package com.saleSystem.pojo;

import java.util.Date;

public class TradeHistory {
    private Integer id;

	private Integer userid;

	private Long buyprice;

	private Integer buynum;

	private Date buytime;

	private String image;

	private String title;

	private Integer contentid;

	public TradeHistory(Integer id, Integer userid, Long buyprice, Integer buynum, Date buytime, String image,
			String title, Integer contentid) {
		this.id = id;
		this.userid = userid;
		this.buyprice = buyprice;
		this.buynum = buynum;
		this.buytime = buytime;
		this.image = image;
		this.title = title;
		this.contentid = contentid;
	}

	public TradeHistory() {
		super();
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserid() {
		return userid;
	}

	public void setUserid(Integer userid) {
		this.userid = userid;
	}

	public Long getBuyprice() {
		return buyprice;
	}

	public void setBuyprice(Long buyprice) {
		this.buyprice = buyprice;
	}

	public Integer getBuynum() {
		return buynum;
	}

	public void setBuynum(Integer buynum) {
		this.buynum = buynum;
	}

	public Date getBuytime() {
		return buytime;
	}

	public void setBuytime(Date buytime) {
		this.buytime = buytime;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image == null ? null : image.trim();
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title == null ? null : title.trim();
	}

	public Integer getContentid() {
		return contentid;
	}

	public void setContentid(Integer contentid) {
		this.contentid = contentid;
	}

}